Skip to contentSkip to conversation

gem_shrink -oom subcases return fail instead of pass

Bug 97259 [email protected] 1 participant 5 messages Aug 9, 2016 – Sep 14, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=97259

Bug ID: 97259
Summary: gem_shrink -oom subcases return fail instead of pass
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: IGT
Assignee: [email protected]
Reporter: [email protected]

Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from
https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/
commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc
Author: Daniel Vetter <[email protected]>
Date: Mon Aug 8 11:02:44 2016 +0200
drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest
drm: libdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-502 c833c08 from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-691 a77397a from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-66 fb7d6f5 from
git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from
http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01
Intel-Gpu-Tools 1.15-216 9afd545 from
http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
1. Execute IGT tests:

# ./gem_shrink --r pwrite-oom
# ./gem_shrink --r pread-oom

Actual results:
---------------
1. Tests return fail

Quoted 1 line

From Chris Wislon: The -oom bugs are expected "failure". At least we are

expecting that the kernel kills our test without oopsing or killing anybody else. To fail here is to pass!
https://bugs.freedesktop.org/show_bug.cgi?id=95502#c3

Expected result:
----------------
1. Tests return Pass

Output:
-------

# ./gem_shrink --r pwrite-oom
IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64)
Using 45 processes and 128MiB per process
child 0 died with signal 9, Killed
Subtest pwrite-oom failed.
**** DEBUG ****
(gem_shrink:7943) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:7943) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Subtest pwrite-oom: FAIL (368.497s)
# ./gem_shrink --r pread-oom
IGT-Version: 1.15-g12f052b (x86_64) (Linux: 4.8.0-rc1-nightly+ x86_64)
Using 45 processes and 128MiB per process
child 0 died with signal 9, Killed
Subtest pread-oom failed.
**** DEBUG ****
(gem_shrink:12351) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_shrink:12351) DEBUG: Test requirement passed: has_userptr()
****  END  ****
Subtest pread-oom: FAIL (186.552s)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 97259] Some gem_shrink subcases return fail instead of pass

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97259

cprigent <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|gem_shrink -oom subcases    |Some gem_shrink subcases
                   |return fail instead of pass |return fail instead of pass
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 97259] Some gem_shrink subcases return fail instead of pass

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97259

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Chris Wilson <[email protected]> ---

*** This bug has been marked as a duplicate of bug 95424 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 97259] Some gem_shrink subcases return fail instead of pass

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97259

Elizabeth <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel